#pragma once
#include <opencv2/opencv.hpp>
#include <string>

using namespace cv;
using namespace std;

class UserInterface {
public:
    UserInterface();
    void showFrame(const Mat& frame, const string& windowName = "Face Recognition");
    void drawFaceRect(Mat& frame, const Rect& face, const string& label = "");
    void drawInfo(Mat& frame, const string& info);
    bool handleKeyboard();

private:
    const int ESC_KEY = 27;
};